/**
 * Created by jinhongglin on 15-11-17.
 */
var app = angular.module('myweb', ['ngRoute']);
app.config(function($routeProvider) {
    $routeProvider.when("/", {
        templateUrl: "all_page/home.html",
        controller: "home_controller"
    })
        .when("/help_order_meal",{
            templateUrl:"all_page/help_order_meal.html" ,
            controller :"help_order_meal_controller"
        })
        .when("/person.html",{
            templateUrl :"all_page/person.html",
            controller:"person_controller"
        })
        .when("/restaurant.html",{
            templateUrl:"all_page/restaurant.html",
            controller:"restaurant_controller"
        })
        .when("/total_buy_information",{
            templateUrl:"all_page/total_buy_information.html",
            controller:"total_buy_information_controller"

        })
        .when("/set_meal.html",{
            templateUrl:"all_page/set_meal.html",
            controller:"set_meal_controller"
        })

})

